package com.x.erp.rpc;

import com.x.erp.model.Car;
import com.x.erp.model.statis.MarketStorageVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface TVStatisRpcService {

	/**
	 * 查询库存数量
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchMarketStorageInfo(MarketStorageVO marketStorageVO);

	/**
	 * 查询出库信息
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchCarOutStorageInfo(MarketStorageVO marketStorageVO);

	/**
	 * 查询每日入库信息
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchDayCarStorageInfo(MarketStorageVO marketStorageVO);

	/**
	 * 查询每日出库信息
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchDayCarOutStorageInfo(MarketStorageVO marketStorageVO);

	/**
	 * 查询每日销售额信息
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchDaySaleVolume(MarketStorageVO marketStorageVO);
	/**
	 * 查询入库车辆列表
	 * @param marketStorageVO
	 * @return
	 */
	List<Car> searchCarList(MarketStorageVO marketStorageVO);

	/**
	 * 查询出库车辆列表
	 * @param marketStorageVO
	 * @return
	 */
	List<Car> searchCarSaleList(MarketStorageVO marketStorageVO);

	/**
	 * 查询库存车辆颜色排行
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchStorageColorRank(MarketStorageVO marketStorageVO);

	/**
	 * 查询出库车辆颜色排行
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchCarOutStockColorRank(MarketStorageVO marketStorageVO);

	/**
	 * 价格排行
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchCarOutStockPriceRank(MarketStorageVO marketStorageVO);

	/**
	 * 出库量排行
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchCarOutStockRank(MarketStorageVO marketStorageVO);

	/**
	 * 销售额排行
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchCarSaleVolumeRank(MarketStorageVO marketStorageVO);

	/**
	 * 库存量
	 * @param marketStorageVO
	 * @return
	 */
	int searchCarStock(MarketStorageVO marketStorageVO);

	/**
	 * 查询排量排行
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchCarDisplacementRank(MarketStorageVO marketStorageVO);

	/**
	 * 查询初检数量
	 * @param marketStorageVO
	 * @return
	 */
	int searchCarFirstDetectInfo(MarketStorageVO marketStorageVO);

	/**
	 * 查询每日初检信息
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchDayCarFirstDetectInfo(MarketStorageVO marketStorageVO);

	/**
	 * 查询认证数量
	 * @param marketStorageVO
	 * @return
	 */
	int searchCarAuthNum(MarketStorageVO marketStorageVO);

	/**
	 * 查询库存品牌排行
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO> searchStockBrandRank(MarketStorageVO marketStorageVO);

	/**
	 * 查询出/入库品牌对比
	 * @param marketStorageVO
	 * @return
	 */
	List<MarketStorageVO>  searchCarOutAndInBrandContrast(MarketStorageVO marketStorageVO);

	/**
	 * 查询交易额
	 * @param marketStorageVO
	 * @return
	 */
	MarketStorageVO searchCarSaleVolume(MarketStorageVO marketStorageVO);
}
